package org.jxy.study.rpc.message;

public enum ErrorCodeEnums {
    SUCCESS(0,"OK"),
    FAIL(1,"FAIL")
    ;
    private int code;
    private String msg;

    ErrorCodeEnums(int code, String msg) {
        this.code = code;
        this.msg = msg;
    }

    public int getCode() {
        return code;
    }

    public String getMsg() {
        return msg;
    }
}
